<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div></div>
    <div></div>
    <div></div>
<script>
// // 1.数组的合并
// const kuaizi =['王太利','小样'];
// const fenghuang = ['增益','零花'];
// // const zuixuanxiaopingguo = kuaizi.concat(fenghuang);ES5中方法

// const zuixuanxiaopingguo =[...kuaizi,...fenghuang];
// // 相当于['王太利','小样','增益','零花']
// console.log(zuixuanxiaopingguo);


// // 2.数组的复制 浅拷贝
// const sanzhihua = ['G','E','M'];
// const sanyecao = [...sanzhihua];


// 3.将伪数组转换为真正的数组
const divs =document.querySelectorAll('div');
const divArr = [...divs];
console.log(divArr);

</script>
</body>
</html>